<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<%@ page import="com.msmall.base.util.ConstantDB" language="java"%>
<%@ page import="com.msmall.community.space.util.SpaceConstants" language="java"%>
<c:set var="UNLOCK_STATUS" value="<%=ConstantDB.UNLOCK_STATUS%>"></c:set>
<c:set var="LOCK_STATUS" value="<%=ConstantDB.LOCK_STATUS%>"></c:set>
<c:set var="SPACE_WIDGET_PART_ALBUM" value="<%=SpaceConstants.SPACE_WIDGET_PART_ALBUM%>"></c:set>
<div class="spaw730nav">
	<p class="sHB00 fl" onclick="spaceIndexNav(<c:out value='${SPACE_WIDGET_PART_ALBUM}'/>)">
		<c:choose>
			<c:when test="${isOwner}">我的相册</c:when>
			<c:otherwise>Ta的相册</c:otherwise>
		</c:choose>
	</p>
	&nbsp;&nbsp;&nbsp; >> 
	<a class="lH00" href="javascript:spaceAlbumList(${album.albumid})">
		<c:out value="${album.title}"/>
	</a>
	<c:choose>
		<c:when test="${isOwner}">
			&nbsp;&nbsp;&nbsp;
			<a class="lH00" id="a_space_album_updload" href="javascript:spaceAlbumUpload()">上传照片</a>
			&nbsp;&nbsp;&nbsp;
			<a class="lH00" id="a_space_album" href="javascript:createAlbum()">创建相册</a>
		</c:when>
	</c:choose>
</div>
<div class="spalistphoto">
	<c:forEach var="photo" items="${page.items}" varStatus="stat">
		<dl class="spalistphotodl">
			<dt>
				<a target="_self" href="javascript:spaceAlbumPhotoView(${photo.photoid})">
				<img src="${ctx}/${photo.fullPath}">
				</a>
			</dt>
			<dd></dd>
		</dl>
	</c:forEach>
</div>
<div class="pagediv martop10 tc clear">
	<jsp:include page="/WEB-INF/content/html/album/album_photo_list_pager.jsp"></jsp:include>
</div>